package cn.xuewei.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
@Data
public class ContentSearchVO {
    /**文章*/
    private String id;
    private Long type;
    private String title;
    private String imgUrl;
    private Integer viewCount;
    private Integer commentCount;
    private Integer likeCount;

    /**视频*/
    private String bvid;
    private Long userId;
    private String imgeurl;
    private String url;
    private String videourl;

    /**付费课程*/
    private Long paid;
    private String coursename;
    private double price;
    private int boughtnum;


    /**用户*/
    private String nickname;
    //private String userImgUrl;
    private Date registerTime;

    /**类别*/
    private Long categoryId;

    /**个人主页*/
    private Integer articleCountByUser;
    private Integer videoCountByUser;
    private Integer likeCountByUser;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;



}
